# mazecaster

## Description

Another SDL raycaster with assets taken from [FreeDoom](https://freedoom.github.io).

## Building

C89-compliant and should compile anywhere SDL2 is supported.

### MSYS64 (Windows)

```
pacman -S --needed base-devel mingw-w64-ucrt-x86_64-toolchain mingw-w64-x86_64-SDL2
```

### Debian and derivatives:

```
apt install build-essential gdb libsdl2-devel
```

## mapedit

Basic map editor for mazecaster.

 - Left-Click to cycle through the available tiles.
 - Right-Click to clear a tile.
 - F3 to write to disk.

## TODO

 - [ ] Move upng into a 3rdParty directory
 - [ ] deduplicate code
 - [ ] make into a game ;-)

## Hacking

 - PNG images must be 64x64 8bpc RGBA.

